/**
 * @Author: linzq
 * @Date: 2021-08-19 15:04:37
 * @LastEditors: linzq
 * @LastEditTime: 2021-11-08 16:59:02
 * @Description: 账户权限接口
 */

import { get, post, put } from '../../axios'

export default {
  // 列表获取
  list: function(params) {
    return get(params, '/route/list')
  },
  checkId: function(params) {
    return post(params, '/route/checkId')
  },
  newRoute: function(params) {
    return post(params, '/route')
  },
  updateRoute: function(params) {
    return put(params, '/route')
  }
}
